class ShortModel {
  String? id;
  String? name;
  String? code;
  bool? isSelect = false;

  ShortModel({this.id, this.name, this.isSelect,this.code});

  ShortModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    name = json['name'];
    code = json['code'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = Map<String, dynamic>();
    data['id'] = id;
    data['name'] = name;
    data['code'] = code;
    return data;
  }
}
